<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TPaintEvent类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_paint_event.html">TPaintEvent</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_paint_event-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TPaintEvent类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TPaintEvent 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_paint_event.png" usemap="#awtk.TPaintEvent_map" alt=""/>
  <map id="awtk.TPaintEvent_map" name="awtk.TPaintEvent_map">
<area href="classawtk_1_1_t_event.html" alt="awtk.TEvent" shape="rect" coords="0,0,108,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:af6c35a00e2918eb33df81af56be64136"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_paint_event.html#af6c35a00e2918eb33df81af56be64136">TPaintEvent</a> (long <a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a>)</td></tr>
<tr class="separator:af6c35a00e2918eb33df81af56be64136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1c4fbdce78e66e6e206920b1e92d46e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_canvas.html">TCanvas</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_paint_event.html#aa1c4fbdce78e66e6e206920b1e92d46e">getC</a> ()</td></tr>
<tr class="separator:aa1c4fbdce78e66e6e206920b1e92d46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classawtk_1_1_t_event"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classawtk_1_1_t_event')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classawtk_1_1_t_event.html">awtk.TEvent</a></td></tr>
<tr class="memitem:ae01962dbecb1f5d4bad32bf314007ac0 inherit pub_methods_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#ae01962dbecb1f5d4bad32bf314007ac0">TEvent</a> (long <a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a>)</td></tr>
<tr class="separator:ae01962dbecb1f5d4bad32bf314007ac0 inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcce6c53414eceb6b510eda03195779b inherit pub_methods_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#abcce6c53414eceb6b510eda03195779b">destroy</a> ()</td></tr>
<tr class="separator:abcce6c53414eceb6b510eda03195779b inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a964ae7dc0cbb10e46a40dbf8ecda543f inherit pub_methods_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#a964ae7dc0cbb10e46a40dbf8ecda543f">getType</a> ()</td></tr>
<tr class="separator:a964ae7dc0cbb10e46a40dbf8ecda543f inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab867a2b0170a28954696ce0752bf8d64 inherit pub_methods_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#ab867a2b0170a28954696ce0752bf8d64">getTime</a> ()</td></tr>
<tr class="separator:ab867a2b0170a28954696ce0752bf8d64 inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add2b6613b1e1ae53c15db5f6c2361e19 inherit pub_methods_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#add2b6613b1e1ae53c15db5f6c2361e19">getTarget</a> ()</td></tr>
<tr class="separator:add2b6613b1e1ae53c15db5f6c2361e19 inherit pub_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ab9053000fad495ce277d613d4a48b606"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_paint_event.html">TPaintEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_paint_event.html#ab9053000fad495ce277d613d4a48b606">cast</a> (long <a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a>)</td></tr>
<tr class="separator:ab9053000fad495ce277d613d4a48b606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d1334c5a41ec948bae4d2d28e29730a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_paint_event.html">TPaintEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_paint_event.html#a6d1334c5a41ec948bae4d2d28e29730a">cast</a> (<a class="el" href="classawtk_1_1_t_event.html">TEvent</a> event)</td></tr>
<tr class="separator:a6d1334c5a41ec948bae4d2d28e29730a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classawtk_1_1_t_event"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classawtk_1_1_t_event')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="classawtk_1_1_t_event.html">awtk.TEvent</a></td></tr>
<tr class="memitem:abe7494adb31ef8d50da371e4558c948f inherit pub_static_methods_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_event.html">TEvent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#abe7494adb31ef8d50da371e4558c948f">create</a> (int type)</td></tr>
<tr class="separator:abe7494adb31ef8d50da371e4558c948f inherit pub_static_methods_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_classawtk_1_1_t_event"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classawtk_1_1_t_event')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classawtk_1_1_t_event.html">awtk.TEvent</a></td></tr>
<tr class="memitem:aede2b8f4ca1f04e2ac01814f947c4304 inherit pub_attribs_classawtk_1_1_t_event"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_event.html#aede2b8f4ca1f04e2ac01814f947c4304">nativeObj</a></td></tr>
<tr class="separator:aede2b8f4ca1f04e2ac01814f947c4304 inherit pub_attribs_classawtk_1_1_t_event"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>绘制事件。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="af6c35a00e2918eb33df81af56be64136"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6c35a00e2918eb33df81af56be64136">&#9670;&nbsp;</a></span>TPaintEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TPaintEvent.TPaintEvent </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ab9053000fad495ce277d613d4a48b606"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9053000fad495ce277d613d4a48b606">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_paint_event.html">TPaintEvent</a> awtk.TPaintEvent.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

<p>重载 <a class="el" href="classawtk_1_1_t_event.html#ab2ab11fa6f541612f29e4746fa5bf9f6">awtk.TEvent</a> .</p>

</div>
</div>
<a id="a6d1334c5a41ec948bae4d2d28e29730a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d1334c5a41ec948bae4d2d28e29730a">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_paint_event.html">TPaintEvent</a> awtk.TPaintEvent.cast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_t_event.html">TEvent</a>&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把event对象转paint_event_t对象。主要给脚本语言使用。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>event对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>event 对象。 </dd></dl>

<p>重载 <a class="el" href="classawtk_1_1_t_event.html#a067587ea5a1a4108468531562ee3ccd9">awtk.TEvent</a> .</p>

</div>
</div>
<a id="aa1c4fbdce78e66e6e206920b1e92d46e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1c4fbdce78e66e6e206920b1e92d46e">&#9670;&nbsp;</a></span>getC()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_canvas.html">TCanvas</a> awtk.TPaintEvent.getC </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>canvas。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TPaintEvent.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
